<!doctype html>
<html>
<head>
    <title>VIP12的接口测试项目</title>
    <meta charset="utf-8">
    <!--<link rel="icon" sizes="any" mask="" href="https://www.baidu.com/img/baidu_85beaf5496f291521eb75ba38eacbd87.svg"> -->
    <link rel="icon" sizes="any" mask="" href="logo.png">
    <link rel="stylesheet" type="text/css" href="VIP12css.css">
    <script>
        function sendkeys(content, a) {
            console.log("正在输入" + content);
            console.log(a.value);
        }
    </script>
    <script src='VIP12JS.js'></script>
    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js" ></script>
</head>
<body >

<div style="font-family: cursive;font-size: x-large;color: #c77800;">
    20220728Jenkins课程新增了注册功能：
    <a align="center" href="register.html">新增了注册功能</a>
    <div align="center" id="loginRes"></div>
    <form method="post" id="info" action="/user/login">
        <div align="center">
            <label>请填写用户名：</label>
            <input type="text" value="roy" name="username" placeholder="用户名" oninput="sendkeys('用户名',this)">
        </div>
        <div align="center">
            <label>请填写密码：</label>
            <input type="password" name="password" placeholder="密码">
        </div>
        <div align="center"><input type="submit" value="提交操作">
        </div>
        <div align="center">
<!--            button是通过元素文本内容来添加按钮信息的-->
            <button type="button" onclick="ajaxlogin()">ajax登录</button>
        </div>
    </form>
</div>
</body>
</html>